.shopcart {
    padding: 50px 0;

    .top {
        background-color: #fff;
        border-bottom: 1px solid #eee;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
    }

    .nodata {
        padding-top: 50px;
        background-color: #f5f5f5;
        height: 250px;
    }


    // 购物车数据
    .cart {
        padding-right: 10px;

        .box {
            width: 100%;
            height: 100px;
            display: flex;
            margin-top: 10px;
            justify-content: space-around;
            background-color: #fff;

            .checkbox {
                line-height: 100px;
                margin-right: 8px;
            }


            .left {
                width: 30%;
                padding-top: 20px;
                line-height: 100px;

                img {
                    width: 100%;
                }
            }

            .right {
                padding: 10px;

                .name {
                    font-size: 14px;
                    display: -webkit-box;
                    overflow: hidden;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 1;
                }

                .price {
                    margin-top: 30px;
                    font-size: 18px;
                    font-weight: bold;
                }

                .num {
                    position: absolute;
                    right: 25px;
                    margin-top: -25px;
                }
            }
        }
    }

    .submit {
        height: 50px;
        background-color: #fff;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 999;
        display: flex;
        justify-content: space-around;

        .but {
            font-size: 14px;
            width: 80px;
            height: 30px;
            border-radius: 20px;
            color: #fff;
            background-color: red;
            border: red;
            margin-top: 10px;
        }

        p {
            font-size: 18px;
            margin-top: 15px;

            span {
                color: red;
            }
        }

    }

    // 猜你喜欢
    h2 {
        margin-left: 10px;
        margin-top: 20px;
        color: lightcoral;
    }

    .recomm {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px;

        .box {
            width: 48%;
            background-color: #fff;
            margin-top: 10px;
            border-radius: 10px;

            img {
                width: 100%;
                border-radius: 10px;
            }

            .name {
                margin: 10px;
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
            }

            .price {
                color: red;
                margin: 10px;
                font-size: 20px;
            }
        }
    }
}